#include "gaussianblur.h"

GaussianBlur::GaussianBlur()
{
    k_rows=3;
    k_cols=3;
    int i;
    kernel=new double[k_rows*k_cols];
    //for(i=0;i<k_rows*k_cols;i++)
      //  kernel[i]=.04;
    kernel[0]=.0625;
    kernel[1]=.125;
    kernel[2]=.0625;
    kernel[3]=.125;
    kernel[4]=.25;
    kernel[5]=.125;
    kernel[6]=.0625;
    kernel[7]=.125;
    kernel[8]=.0625;
}

GaussianBlur::~GaussianBlur(){
    delete [] kernel;

}
